export const analysisURL = (url: string): Record<string, string> => {
  let obj = {}
  if (url)
    url
      .split('&')
      .map(it => it.split('='))
      .map(it => (obj = { ...obj, [it[0]]: it[1] }))
  return obj
}